package com.alex.guava;

import com.google.common.base.Joiner;
import org.junit.Assert;
import org.junit.Test;

/**
 * Author  : gaojun            <br/>
 * Date    : 2020/6/23                          <br/>
 * Time    : 12:45 下午                         <br/>
 * ---------------------------------------    <br/>
 * Desc    :
 */
public class JoinerTest {

    @Test
    public void joinerTest() {
        Assert.assertEquals("a-b-c", Joiner.on("-").join("a", "b", "c"));
    }
}
